<div style="width:600px; height:550px; margin-left:30px; background-color:#fff;">
  <center><img src="<?php e($this->base) ?>/img/step3.png" style="margin-top:15px;" /></center>
  <div id="pages" style="width:560px; padding:15px 20px 20px;">
    <form id="form-payment" method="post" action="<?php e($this->base); ?>/pages/confirm">
      <h3 style="margin-bottom:3px;"><?php __('Payment Method'); ?></h3>
      <div style="border:1px solid #ccc; padding:10px; margin-bottom:20px;">
        <div style="margin:1px 0 3px;"><?php __('Please select the preferred payment method to use on this order.'); ?></div>
<?php $checked1 = ' checked';
      $checked2 = $checked3 = '';

      if (isset($data['payment_method'])) {
          if ($data['payment_method'] == 'Credit Card Payment') {
              $checked1 = ' checked';
              $checked2 = '';
              $checked3 = '';
          } else if ($data['payment_method'] == 'COD (cash on delivery)') {
              $checked1 = '';
              $checked2 = ' checked';
              $checked3 = '';
          } else {
              $checked1 = '';
              $checked2 = '';
              $checked3 = ' checked';
          }
      } ?>
        <label><input type="radio" name="payment_method" value="Credit Card Payment"<?php e($checked1); ?> /> <?php __('Credit Card Payment'); ?>:</label>
        <br />
        <label><input type="radio" name="payment_method" value="COD (cash on delivery)"<?php e($checked2); ?> /> <?php __('COD (cash on delivery)'); ?>:</label>
        <br />
        <label><input type="radio" name="payment_method" value="Bank Transfer"<?php e($checked3); ?> /> <?php __('Bank Transfer'); ?>:</label>
      </div>

      <div class="clear"></div>
      <div class="fLeft"><input type="button" value="<?php __('Back'); ?>" style="margin-top:20px; display:block;" onclick="history.go(-1);" /></div>
      <div class="fRight">
        <input type="submit" value="<?php __('Next Step'); ?>" style="margin-top:20px; display:block;" />
      </div>
      <div class="clear"></div>
    </form>
  </div>
</div>